﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="AddCustomer.aspx.cs" Inherits="HSchSchedule.TestPages.AddCustomer" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title>Registry</title>
    <link media="all" type="text/css" href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/themes/base/jquery-ui.css"
        rel="stylesheet">
    <link media="all" type="text/css" href="http://static.jquery.com/ui/css/demo-docs-theme/ui.theme.css"
        rel="stylesheet">

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.min.js"></script>

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/jquery-ui.min.js"></script>

    <script type="text/javascript" src="http://jquery-ui.googlecode.com/svn/tags/latest/external/jquery.bgiframe-2.1.2.js"></script>

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/i18n/jquery-ui-i18n.min.js"></script>

    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.11/i18n/jquery-ui-i18n.min.js"></script>
    <script src="../JQuery/Biz.js" type+"text/javascript"></script>

    <link class="ui-theme" rel="Stylesheet" type="text/css" href="http://jqueryui.com/themeroller/css/parseTheme.css.php?ffDefault=Trebuchet+MS,+Tahoma,+Verdana,+Arial,+sans-serif&amp;fwDefault=bold&amp;fsDefault=1.1em&amp;cornerRadius=4px&amp;bgColorHeader=f6a828&amp;bgTextureHeader=12_gloss_wave.png&amp;bgImgOpacityHeader=35&amp;borderColorHeader=e78f08&amp;fcHeader=ffffff&amp;iconColorHeader=ffffff&amp;bgColorContent=eeeeee&amp;bgTextureContent=03_highlight_soft.png&amp;bgImgOpacityContent=100&amp;borderColorContent=dddddd&amp;fcContent=333333&amp;iconColorContent=222222&amp;bgColorDefault=f6f6f6&amp;bgTextureDefault=02_glass.png&amp;bgImgOpacityDefault=100&amp;borderColorDefault=cccccc&amp;fcDefault=1c94c4&amp;iconColorDefault=ef8c08&amp;bgColorHover=fdf5ce&amp;bgTextureHover=02_glass.png&amp;bgImgOpacityHover=100&amp;borderColorHover=fbcb09&amp;fcHover=c77405&amp;iconColorHover=ef8c08&amp;bgColorActive=ffffff&amp;bgTextureActive=02_glass.png&amp;bgImgOpacityActive=65&amp;borderColorActive=fbd850&amp;fcActive=eb8f00&amp;iconColorActive=ef8c08&amp;bgColorHighlight=ffe45c&amp;bgTextureHighlight=03_highlight_soft.png&amp;bgImgOpacityHighlight=75&amp;borderColorHighlight=fed22f&amp;fcHighlight=363636&amp;iconColorHighlight=228ef1&amp;bgColorError=b81900&amp;bgTextureError=08_diagonals_thick.png&amp;bgImgOpacityError=18&amp;borderColorError=cd0a0a&amp;fcError=ffffff&amp;iconColorError=ffd27a&amp;bgColorOverlay=666666&amp;bgTextureOverlay=08_diagonals_thick.png&amp;bgImgOpacityOverlay=20&amp;opacityOverlay=50&amp;bgColorShadow=000000&amp;bgTextureShadow=01_flat.png&amp;bgImgOpacityShadow=10&amp;opacityShadow=20&amp;thicknessShadow=5px&amp;offsetTopShadow=-5px&amp;offsetLeftShadow=-5px&amp;cornerRadiusShadow=5px">
    <script language="javascript">
        
        $(document).ready(function() {
            var cUrl = document.URL;
            var splitUrl = cUrl.split("/");
            var rootUrl = "";
            var customerUrl = "";
            var provinceUrl = "";
            for (var i = 0; i < splitUrl.length - 2; i++) {
                rootUrl += splitUrl[i] + "/";
            }
            customerUrl = rootUrl + "AjaxPages/AjaxCustomer.aspx";
            provinceUrl = rootUrl + "AjaxPages/AjaxProvince.aspx";
            var allProvinces = GetAllProvince(provinceUrl + "/GetAllProvinces");
            //alert("I'm here");
            
        });
    </script>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <table width="80%">
            <col width="25%" />
            <col />
            <tr>
                <td>
                    Tên tổ chức sử dụng dịch vụ
                </td>
                <td>
                    <input type="text" id="txtCustomerName" size="40" />
                </td>
            </tr>
            <tr>
                <td>
                    Cơ quan thuộc tỉnh
                </td>
                <td>
                    <select id="cobProvince">
                    </select>
                </td>
            </tr>
            <tr>
                <td>
                    Huyện trực thuộc
                </td>
                <td>
                    <input type="text" id="txtDistrict" size="40" />
                </td>
            </tr>
            <tr>
                <td>
                    Địa chỉ cơ quan
                </td>
                <td>
                    <input type="text" id="txtCustomerAddress" size="40" />
                </td>
            </tr>
            <tr>
                <td>
                    Điện thoại cơ quan
                </td>
                <td>
                    <input type="text" id="txtCustomerPhone" size="40" />
                </td>
            </tr>
            <tr>
                <td>
                    Người liên hệ
                </td>
                <td>
                    <input type="text" id="txtContactName" size="40" />
                </td>
            </tr>
            <tr>
                <td>
                    Điện thoại
                </td>
                <td>
                    <input type="text" id="txtContactPhone" size="40" />
                </td>
            </tr>
            <tr>
                <td>
                    Số tài khoản ngân hàng
                </td>
                <td>
                    <input type="text" id="txtBankAccount" size="40" />
                </td>
            </tr>
            <tr>
                <td>
                    Tên ngân hàng
                </td>
                <td>
                    <input type="text" id="txtBankName" size="40" />
                </td>
            </tr>
            <tr>
                <td>
                    Địa chỉ ngân hàng (chi nhánh)
                </td>
                <td>
                    <input type="text" id="txtBankAddress" size="40" />
                </td>
            </tr>
            <tr>
                <td>
                    Tên đăng nhập
                </td>
                <td>
                    <input type="text" id="txtLoginName" size="35" />
                </td>
            </tr>
            <tr>
                <td>
                    Mật khẩu
                </td>
                <td>
                    <input type="password" id="txtPassword" size="35" />
                </td>
            </tr>
            <tr>
                <td>
                    Xác nhận mật khẩu
                </td>
                <td>
                    <input type="password" id="txtPassword2" size="35" />
                </td>
            </tr>
            <tr>
                <td>
                    <input type="button" id="btnOk" value="OK" />
                </td>
                <td>
                    <input type="button" id="btnCancel" value="Cancel" />
                </td>
            </tr>
        </table>
    </div>
    </form>
</body>
</html>
